package com.smart.village.big.screen.mapper;

import com.smart.village.big.screen.domain.PartyMemberLogStaticVo;
import com.smart.village.big.screen.domain.PartyOrganizationApplicationStaticVo;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface PartyOrganizationApplicationMapper {
    List<PartyOrganizationApplicationStaticVo> getPartyOrganizationApplication(
            @Param("partyOrganizationSerialNumber") String partyOrganizationSerialNumber,
            @Param("rowStatus") String rowStatus);
    @MapKey("applicationStatus")
    List<Map> getPartyOrganizationApplicationStatic(
            @Param("partyOrganizationSerialNumber") String partyOrganizationSerialNumber);
    List<PartyMemberLogStaticVo> getPartyMemberLogStaticDetail(String applicationSerialNumber);
    List<PartyMemberLogStaticVo> getMicroPartyMemberLogStaticDetail(String maxApplicationSerialNumber);
    String getMaxApplicationSerialNumberByIDCardNumber(String iDCardNumber);

    String getPartyOrganizationMemberNamesCurrent(String partyOrganizationSerialNumber);
}
